\documentclass[bound, 12pt]{uofsthesis-cs}

\usepackage{url}
\usepackage{graphics}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{subfig}
\usepackage{subfloat}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{fancyvrb}


% Documentation for the uofsthesis-cs class is given in uofsthesis-cs.dvi
% 
% It is recommended that you read the CGSR thesis preparation
% guidelines before proceeding.
% They can be found at http://www.usask.ca/cgsr/thesis/index.htm

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FRONTMATTER - In this section, specify information to be used to
% typeset the thesis frontmatter.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% THESIS TITLE
% Specify the title. Set the capitalization how you want it.
\title{Scalable Resource and QoS Brokering Mechanisms for Massively Multiplayer Online Games}

% AUTHOR'S NAME
% Your name goes here.
\author{Mehadi Hasan}

% DEGREE SOUGHT.  
% Use \MSc or \PhD here
\degree{\MSc}         

% EXPECTED CONVOCATION DATE
% Should be month/year, e.g. July 2004
\convocationdate{May/2012}


% NAME OF ACADEMIC UNIT
%
% The following two commands allow you to specify the academic unit you belong to.
% This will appear on the title page as
% ``<academic unit> of <department>''.
% So if you are in the division of biomedical engineering you would need to do:
% \department{Biomedical Engineering}
% \academicunit{Division}
%
% The default is ``Department of Computer Science'' if these commands
% are not given.
%
% If you are in a discipline other than Computer Science, uncomment the following line and
% specify your discipline/department.  Default is 'Computer Science'.
% \department{If not Computer Science, put the name of your department here}

% If you are not in a department, but say, a division, uncomment the following line.
% \academicunit{Put the type of academic unit you belong to here, e.g. Division, College}


% PERMISSION TO USE ADDRESS
%
% If you are not in Compuer Science you will want to change the
% address on the Permission to Use page.  This is done using the
% \ptuaddress{}.  Example:
%
% \ptuaddress{Head of the Department of Computer Science\\
% 176 Thorvaldson Building\\
% 110 Science Place\\
% University of Saskatchewan\\
% Saskatoon, Saskatchewan\\
% Canada\\
% S7N 5C9
% }

%\input ACMPaper/abstract.tex
\abstract{
\input ACMpaper/abstract.tex
}


% THESIS ACKNOWLEDGEMENTS -- This can be free-form.
\acknowledgements{
I would like to acknowledge my supervisor Dr. Nadeem Jamali for his suggestions and valuable comments to my research. He not only enlightened me with new ideas but also encouraged me throughout my research work. His friendly supervision and guidance made this challenging research work possible. His views on different areas helped me to carry out my research work successfully as well as helped me gain insight on real life matters. 

Many thanks go to Professor Dwight Makaroff and Professor Chanchal Roy, the two professors in my thesis committee, who provided me with valuable feedback. Professor Roy took the time to meet with me a number of times and provided valuable advice before my thesis defence. I would like to thank Professor Ramakrishna Gokaraju, for serving as the external examiner on my thesis committee, and offering very useful feedback at the defense. 

Also thanks go to Xinghui Zhao, one of the PhD students in our lab for her ideas and clarifications on CyberOrgs API. I really appreciate the time she spent on me and the knowledge she shared. She always provided valuable feedbacks in the group meetings about my research. I am really grateful to her for her selfless contributions. 

I also would like to express my appreciation to my family, specially my parents, who always keep me motivated at every stage of my life. Without their encouragement it would be very difficult for me to complete my research successfully. 

Finally, I would like to acknowledge the generous financial support in the form of a Graduate Teaching Fellowship and a Faculty Scholarship from Professor Jamali's NSERC Discovery Grant.
 
}

% THESIS DEDICATION -- Also free-form.  If you don't want a dedication, comment out the following
% line.
%\dedication{This is the thesis dedication (optional)}

% LIST OF ABBREVIATIONS - Sample  
% If you don't want a list of abbreviations, comment the following 4 lines.
\loa{
\abbrev{AA}{Actor Architecture}
\abbrev{AOI}{Area of Interest}
\abbrev{API}{Application Programming Interface}
\abbrev{CDM}{Cyberorg Directory Manager}
\abbrev{FPS}{First-Person Shooter}
\abbrev{fps}{Frames per second}
\abbrev{GDM}{Game Directory Manager}
\abbrev{GPU}{Graphics Processing Unit}
\abbrev{MMOFPS}{Massively Multiplayer Online First-Person Shooter}
\abbrev{MMOG}{Massively Multiplayer Online Game}
\abbrev{MMORPG}{Massively Multiplayer Online Role-Playing Game}
\abbrev{MMORTS}{Massively Multiplayer Online Real-Time Strategy}
\abbrev{NPC}{Non-Player Character}
\abbrev{QOS}{Quality of Service}
\abbrev{SALSA}{Simple Actor Language System and Architecture}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% END OF FRONTMATTER SECTION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

% Typeset the title page
\maketitle

% Typeset the frontmatter.  
\frontmatter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FIRST CHAPTER OF THESIS BEGINS HERE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter{Introduction}
\input ACMpaper/introduction.tex
\chapter{Related Work}
\input ACMpaper/relatedwork.tex
\chapter{Design and Implementation}
\input ACMpaper/design.tex
\chapter{Application Programming Interface}
\input ACMpaper/interface.tex
\chapter{Experimental setup}
\input ACMpaper/experiment.tex
\chapter{Experimental results}
\input ACMpaper/evaluation.tex
\chapter{Conclusion}
\input ACMpaper/conclusions.tex


%\input ACMpaper/experiment.tex
%\input ACMpaper/evaluation.tex
%\input ACMpaper/conclusions.tex
% Since thesis chapters are very long and there are a lot of them, it is recommended
% that you put each chapter in a separate .tex file and \input each one of them
% in order.  For example:
%
% \input chap1.tex
% \input chap2.tex
% ...
%
% The \input command inserts contents of the specified file at the point of the command.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% SUBSEQUENT CHAPTERS (or \input's)  GO HERE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%






%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Bibliograpy should go here. BEFORE appendices!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% Typeset the Bibliography.  The bibliography style used is "plain".
% Optionally, you can specify the bibliography style to use:
% \uofsbibliography[stylename]{yourbibfile}

\uofsbibliography{thesis_ref}

% If you are not using bibtex, comment the line above and uncomment
% the line below.  
%Follow the line below with a thebibliography environmentand bibitems.  
% Note: use of bibtex is usually the preferred method.

%\uofsbibliographynobibtex


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% APPENDICES
%
% Any chapters appearing after the \appendix command get numbered with
% capital letters starting with appendix 'A'.
% New chapters from here on will be called 'Appendix A', 'Appendix B'
% as opposed to 'Chapter 1', 'Chapter 2', etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Activate thesis appendix mode.
\uofsappendix

%\chapter{Sample Appendix}

%Stuff for this appendix goes here.

\chapter{Sample Dataset}
\input ACMpaper/dataset.tex


\end{document}
